package com.topisv.tms.entity.stock.reverse;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.topisv.tms.entity.AreaGroup;
import com.topisv.tms.entity.Customers;
import com.topisv.tms.entity.IdEntity;
import com.topisv.tms.entity.User;

/**
 * 冲正单_实体类
 */
@Entity
@Table(name = "reverse_bill")
public class ReverseBill extends IdEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private String customerCode;
	
	private String warehouseCode;
	
	private String billCode;
	
	private String billType;
	
	private String aboutCode;
	
	private String createrUuid;
	
	private Date createTime;
	
	private String status;
	
	private String isAllocated;
	
	public String getCustomerCode() {
		return customerCode;
	}

	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public String getBillType() {
		return billType;
	}

	public void setBillType(String billType) {
		this.billType = billType;
	}

	public String getAboutCode() {
		return aboutCode;
	}

	public void setAboutCode(String aboutCode) {
		this.aboutCode = aboutCode;
	}

	public String getCreaterUuid() {
		return createrUuid;
	}

	public void setCreaterUuid(String createrUuid) {
		this.createrUuid = createrUuid;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	//dto
	private Customers customer;
	private AreaGroup warehouse;
	private User creater;

	@Transient
	public Customers getCustomer() {
		return customer;
	}
	public void setCustomer(Customers customer) {
		this.customer = customer;
	}
	
	@Transient
	public AreaGroup getWarehouse() {
		return warehouse;
	}
	public void setWarehouse(AreaGroup warehouse) {
		this.warehouse = warehouse;
	}
	
	@Transient
	public User getCreater() {
		return creater;
	}
	public void setCreater(User creater) {
		this.creater = creater;
	}

	public String getIsAllocated() {
		return isAllocated;
	}

	public void setIsAllocated(String isAllocated) {
		this.isAllocated = isAllocated;
	}
	

}